package ks.client.gui.admin.plugin.listeners;

/**
 * Temporarily stores plugin name and url to the admin plugin table.
 * @author Jennifer Hunt
 *
 */
public class TempPlugin {
	
	/** Information. */
	String name;
	String suspended;
	
	/**
	 * Constructs a temporary plugin given a plugin name and url.
	 * 
	 * @param name
	 * @param url
	 */
	public TempPlugin (String name, String suspended) {
		this.name = name;
		this.suspended = suspended;
	}
	
	/**
	 * Constructs a temporary plugin given a plugin name.
	 * 
	 * @param name
	 */
	public TempPlugin (String name) {
		this.name = name;
	}
	
	/**
	 * 
	 * toString() method, so the TempPlugin can be stored directly in the table.
	 */
	public String toString() {
		return name;
	}
	
	
}
